$OpenBSD: patch-src_foreign_CMakeLists_txt,v 1.1 2014/01/14 04:20:20 kirby Exp $
--- src/foreign/CMakeLists.txt.orig	Sun Jan 12 19:11:51 2014
+++ src/foreign/CMakeLists.txt	Sun Jan 12 19:12:24 2014
@@ -2,6 +2,9 @@
 add_subdirectory(vigra)
 add_subdirectory(levmar)
 add_subdirectory(lensdb)
+IF(NOT FLANN_FOUND)
+add_subdirectory(flann)
+ENDIF(NOT FLANN_FOUND)
 
 IF(NOT ZTHREAD_FOUND)
 add_subdirectory(zthread/src)
